public class LeilaoFactory{

	public static ILeilao getInstance() throws ClassNotFoundException, InstantiationException, IllegalAccessException{
		
		ClassLoader classLoader = Main.class.getClassLoader();
		Class aClass = classLoader.loadClass(PropertiesImpl.getValor("classe"));

		System.out.println("aClass.getName() = " + aClass.getName());

		return (ILeilao) aClass.newInstance();

	}
}
